﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Jim.K3Cloud;

[Sdk("Kingdee.BOS.ServiceFacade.ServicesStub.Metadata.MetadataService.QueryObjectType", "")]
public class K3CloudQueryObjectTypeRequest : ISdkRequest<K3CloudQueryObjectTypeResponse>
{
    public string QueryVal { get; set; }

    public void Validate()
    {
    }
}


public class K3CloudQueryObjectTypeResponse : SdkResponse<List<K3CloudQueryObjectTypeData>>
{

}

public class K3CloudQueryObjectTypeData
{
    public string Id { get; set; }
    //[JsonConverter(typeof(LocaleValueConverter))]
    //public string Name { get; set; }
    public LocaleValue Name { get; set; }
    public int ModelTypeId { get; set; }
    public int ModelTypeSubId { get; set; }
    public int DevType { get; set; }
    public string BaseObjectId_Id { get; set; }
    public BaseObjectId BaseObjectId { get; set; }
    public string InheritPath { get; set; }
    public string SubSystemId_Id { get; set; }
    public SubSystemId SubSystemId { get; set; }
    public string PackageId { get; set; }
    public int ISTEMPLATE { get; set; }
    public int Seq { get; set; }
    public string FMODIFYDATE { get; set; }
}

public class BaseObjectId
{
    public string Id { get; set; }
    //[JsonConverter(typeof(LocaleValueConverter))]
    //public string Name { get; set; }
    public LocaleValue Name { get; set; }
}

public class SubSystemId
{
    public string Id { get; set; }
    public string Number { get; set; }
    //[JsonConverter(typeof(LocaleValueConverter))]
    //public string Name { get; set; }
    public LocaleValue Name { get; set; }
    public string TopClassId_Id { get; set; }
    public TopClassId TopClassId { get; set; }
}

public class TopClassId
{
    public string Id { get; set; }
    //[JsonConverter(typeof(LocaleValueConverter))]
    //public string Name { get; set; }
    public LocaleValue Name { get; set; }
}